package ca.ets.osgi.uiservice_model;

/**
 * Represent a user who has reserve a room
 * @author HP_Administrator
 *
 */
public class RoomUser {

	private String roomID;
	private String surface;
	private boolean isProjectorAvailable;
	private String date;
	private String hourStart;
	private String hourEnd;
	private boolean isRoomYours;
	private String reserver; 
	
	/**
	 * Constructor
	 */
	public RoomUser(){}

	/**
	 * @return the roomID
	 */
	public String getRoomID() {
		return roomID;
	}


	/**
	 * @param roomID the roomID to set
	 */
	public void setRoomID(String roomID) {
		this.roomID = roomID;
	}
	

	
	
	/**
	 * @return the surface
	 */
	public String getSurface() {
		return surface;
	}

	/**
	 * @param surface the surface to set
	 */
	public void setSurface(String surface) {
		this.surface = surface;
	}

	/**
	 * @return the isProjectorAvailable
	 */
	public boolean isProjectorAvailable() {
		return isProjectorAvailable;
	}

	/**
	 * @param isProjectorAvailable the isProjectorAvailable to set
	 */
	public void setProjectorAvailable(boolean isProjectorAvailable) {
		this.isProjectorAvailable = isProjectorAvailable;
	}

	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}

	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}

	/**
	 * @return the hourStart
	 */
	public String getHourStart() {
		return hourStart;
	}

	/**
	 * @param hourStart the hourStart to set
	 */
	public void setHourStart(String hourStart) {
		this.hourStart = hourStart;
	}

	/**
	 * @return the hourEnd
	 */
	public String getHourEnd() {
		return hourEnd;
	}

	/**
	 * @param hourEnd the hourEnd to set
	 */
	public void setHourEnd(String hourEnd) {
		this.hourEnd = hourEnd;
	}


	

	/**
	 * @return the isRoomYours
	 */
	public boolean isRoomYours() {
		return isRoomYours;
	}

	/**
	 * @param isRoomYours the isRoomYours to set
	 */
	public void setRoomYours(boolean isRoomYours) {
		this.isRoomYours = isRoomYours;
	}

	/**
	 * @return the reserver
	 */
	public String getReserver() {
		return reserver;
	}

	/**
	 * @param reserver the reserver to set
	 */
	public void setReserver(String reserver) {
		this.reserver = reserver;
	}
	
	public String toString(){
		return "This room " + this.getRoomID() + " , " + "reserver " + this.reserver + " on " + this.date + " From " + this.hourStart + " Until " + this.hourEnd;
	}
}
